package cn.oms.dict.provider.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author AllenChen曾晨
 * @since 2022-04-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("leave_apply")
@ApiModel(value="LeaveApply对象", description="")
public class LeaveApply implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID(新增生成)")
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "员工CODE")
    @TableField("STAFF_CODE")
    private String staffCode;

    @ApiModelProperty(value = "员工姓名（中文）")
    @TableField("STAFF_NAME_CN")
    private String staffNameCn;

    @ApiModelProperty(value = "请假开始日期")
    @TableField("LEAVE_START_DATE")
    private LocalDate leaveStartDate;

    @ApiModelProperty(value = "请假结束日期")
    @TableField("LEAVE_END_DATE")
    private LocalDate leaveEndDate;

    @ApiModelProperty(value = "上级领导CODE")
    @TableField("SUP_LEADER_CODE")
    private String supLeaderCode;

    @ApiModelProperty(value = "上级领导名称")
    @TableField("SUP_LEADER_NAME")
    private String supLeaderName;

    @ApiModelProperty(value = "审批状态（0未审批 1通过 2未通过）")
    @TableField("APPROVAL_STATUS")
    private Integer approvalStatus;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private LocalDate createTime;

    @ApiModelProperty(value = "删除标记")
    @TableField("DEL_FLAG")
    private Integer delFlag;


}
